# 导包
import unittest
from uni01_testcase import TestCase1
from uni02_testcase import TestCase2
#实例化一个testsuit对象
suit_object = unittest.TestSuite()
# 添加整个测试类  :套件对象.addTest(unittest.makeSuite(测试类名))
suit_object.addTest(unittest.makeSuite(TestCase1))
suit_object.addTest(unittest.makeSuite(TestCase2))
# 实例化一个执行对象
exe_object =unittest.TextTestRunner()
# 让执行对象去执行套件对象
exe_object.run(suit_object)